#!/bin/bash - 
#===============================================================================
#
#          FILE: groupsend_plot.sh
# 
#         USAGE: ./groupsend_plot.sh 
# 
#   DESCRIPTION: 
# 
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: YOUR NAME (), 
#  ORGANIZATION: 
#       CREATED: 03.05.2013 12.26.46 EEST
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error
echo 'set terminal epslatex color colortext
  set output "inaf_2_tcp.tex"
  set ylabel "Network receive speed (Mb/s)"
  set xlabel "Time(s)"
  set key right bottom
  set xrange [0:100]
   plot "data/inaf_2tcp_bothg.parsed" u 1:3 title "Max receive and send"  w l, \
   "data/inaf_2tcp_sendg.parsed" u 1:3 title "Max send"  w l, \
   "data/inaf_2tcp_nog.parsed" u 1:3 title "No max"  w l ' | gnuplot -persist

